<template>
	<div>
		<baseSelect ref="baseSelect" :defaultValue="defaultValue" :optionList="options" @change="changeHandel"></baseSelect>
	</div>
</template>
<script>
import baseSelect from "@/view/components/select/select";
export default {
    components: {
        baseSelect
    },
    props: [
        "defaultValue"
    ],
    data() {
        return {
            options: [
                {
                    value: '01',
                    label: '中间件'
                },
                {
                    value: '02',
                    label: '应用'
                },
                {
                    value: '03',
                    label: '编译根据'
                }
            ]

        }
    },
    methods: {
        changeHandel(name, v) {
            this.$emit("change", "dictionaryType", v)
        },
        
        reset(){
					this.$refs.baseSelect.reset()
				}
    }

}
</script>
